using WL.Think.Abp.Dto;

namespace WL.Think.Abp.OpenIddict.Dtos;

public class ScopeDto : BaseEntityDto
{
    /// <summary>
    /// 资源域名称
    /// </summary>
    public string? Name { get; set; }

    /// <summary>
    /// 资源域描述
    /// </summary>
    public string? Description { get; set; }

    /// <summary>
    /// 资源域显示名称 
    /// </summary>
    public string? DisplayName { get; set; }

    /// <summary>
    /// 包含资源列表
    /// </summary>
    public HashSet<string> Resources { get; set; } = new HashSet<string>(StringComparer.Ordinal);
}
